package com.develop.skwen.electricgomall.http;

import com.develop.skwen.electricgomall.find.model.FindResult;

import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by skwen on 2018/7/8.
 */

public interface ApiService {


    @GET("toutiao/index?key=50a8eb4ca8fc2be9597c105abcdd5191")
    Observable<FindResult> getListFindBeanData(@Query("type") int type);

    @GET("toutiao/index?key=50a8eb4ca8fc2be9597c105abcdd5191")
    Call<ResponseBody> getListFindBeanDatas(@Query("type") int type);
}
